#include"heap.h"
int main()
{
	Heap hp;
	int a[] = { 9,1,2,5,7,4,8,6,3,5,1,2,3,5,1,8,3 };
	HeapCreate(&hp, a, sizeof(a)/sizeof(int));
	HeapPrint(&hp);
	HeapPush(&hp, 6);
	HeapPrint(&hp);
	int num = HeapTop(&hp);
	printf("%d\n", num);
	int sum = HeapSize(&hp);
	printf("%d\n", sum);
	HeapDestory(&hp);
	return 0;
}